package org.br.erp.project.projecttask.service;

import org.br.erp.project.projecttask.entity.Projecttaskitem;
import org.br.erp.project.projecttask.entity.Projecttask;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 项目任务
 * @Author: jeecg-boot
 * @Date:   2024-05-09
 * @Version: V1.0
 */
public interface IProjecttaskService extends IService<Projecttask> {

	/**
	 * 添加一对多
	 *
	 * @param projecttask
	 * @param projecttaskitemList
	 */
	public void saveMain(Projecttask projecttask,List<Projecttaskitem> projecttaskitemList) ;
	
	/**
	 * 修改一对多
	 *
   * @param projecttask
   * @param projecttaskitemList
	 */
	public void updateMain(Projecttask projecttask,List<Projecttaskitem> projecttaskitemList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
